/*
 * @Author: mikey.zhaopeng 
 * @Date: 2019-01-12 09:44:49 
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-01-12 10:34:37
 */
import 'package:flutter/material.dart';

class DownIcon extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: (){
        Navigator.of(context).pushNamed('/down');
      },
      child: Container(
        width: 44,
        height: 44,
        padding: const EdgeInsets.fromLTRB(15, 14, 0, 14),
        // color: Colors.yellow,
        child: Container(
          height: 16,
          width: 16,
          decoration: BoxDecoration(
            image: DecorationImage(
              image: AssetImage('assets/images/down.png'),
              fit: BoxFit.contain,
            ),
          ),
        ),
      ),
    );
  }
}
